package it.antonio.ilpizze.reflection;

import java.lang.annotation.Annotation;

public class AnnotationAccessor<T extends Annotation> {
	private T annotation;
	private Class<?> declaringClass;
	
	public AnnotationAccessor(T annotation, Class<?> declaringClass) {
		super();
		this.annotation = annotation;
		this.declaringClass = declaringClass;
	}

	public T getAnnotation() {
		return annotation;
	}

	public Class<?> getDeclaringClass() {
		return declaringClass;
	}
	
	
}
